<%@ page language="java" contentType="text/html;charset=UTF-8"%>

<!-- 角色-->
<el-dialog :title="editDiag.title"  :visible.sync="editDiag.show" @close="onCloseEditDialog" :close-on-click-modal="false">
  <el-form :model="editDiag.form" :rules="editDiag.rules" ref="roleDialogForm" onsubmit="return false;">
    <el-form-item label="名称：" :label-width="editDiag.formLabelWidth" prop="roleName">
      <el-input v-model="editDiag.form.roleName" auto-complete="off" ></el-input>
    </el-form-item>
    <el-form-item label="备注：" :label-width="editDiag.formLabelWidth" prop="remark">
      <el-input type="textarea" v-model="editDiag.form.remark" auto-complete="off" rows="3"></el-input>
    </el-form-item>
  </el-form>
  <div slot="footer" class="dialog-footer">
    <el-button @click="editDiag.show= false">取 消</el-button>
    <el-button type="primary" @click="save">确 定</el-button>
  </div>
</el-dialog>